/**
 * User: alesj
 * Date: 2005.1.26
 * Time: 13:51:31
 * 
 * (C) Genera Lynx d.o.o.
 */

package com.generalynx.ecos.utils;

import java.util.Map;

public class MappedElement implements Map.Entry {

    private Object key;
    private Object value;

    public MappedElement(Object key, Object value) {
        this.key = key;
        this.value = value;
    }

    public Object getKey() {
        return key;
    }

    public Object getValue() {
        return value;
    }

    public Object setValue(Object value) {
        this.value = value;
        return value;
    }

    public String toString() {
        return key.toString() + " --> " + value.toString();
    }
}
